package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataFormalcheckDao;
import io.renren.entity.DataFormalcheckEntity;
import io.renren.service.DataFormalcheckService;



@Service("dataFormalcheckService")
public class DataFormalcheckServiceImpl implements DataFormalcheckService {
	@Autowired
	private DataFormalcheckDao dataFormalcheckDao;
	
	@Override
	public DataFormalcheckEntity queryObject(String id){
		return dataFormalcheckDao.queryObject(id);
	}
	
	@Override
	public List<DataFormalcheckEntity> queryList(Map<String, Object> map){
		return dataFormalcheckDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataFormalcheckDao.queryTotal(map);
	}
	
	@Override
	public void save(DataFormalcheckEntity dataFormalcheck){
		dataFormalcheckDao.save(dataFormalcheck);
	}
	
	@Override
	public void update(DataFormalcheckEntity dataFormalcheck){
		dataFormalcheckDao.update(dataFormalcheck);
	}
	
	@Override
	public void delete(String id){
		dataFormalcheckDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataFormalcheckDao.deleteBatch(ids);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataFormalcheckDao.deleteByMonth(month);
	}
	
}
